package com.lnking.lnkingplace.model.entity;

import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lnking.starter.mybatis.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangqt
 * @since 2022-09-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="IsolationSupportPlace对象", description="")
public class IsolationSupportPlace extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "行政区域")
    private String region;

    @ApiModelProperty(value = "场所名称")
    private String placeName;

    @ApiModelProperty(value = "在住人数")
    private Integer occupancyNumber;

    @ApiModelProperty(value = "累计入住人数")
    private Integer occupancyTotal;

    @ApiModelProperty(value = "当日新增人数")
    private Integer dayNewNumber;

    @ApiModelProperty(value = "已使用房间数")
    private Integer useRoom;

    @JsonIgnore
    private Boolean delFlag;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty("街道")
    private String street;

    private Float longitude;

    private Float latitude;
}
